iLoADER |
HOME |
Aggregate based dynamic fields exampleAn Aggregate based dynamic field allows records at a lower database level to be aggregated at a higher one. For example, a bank's customer may hold several accounts. The script is written in the following format: AGGREGATE, Full Table Name , Aggregate Name , Aggregate Type , Aggregate Column, {NSQL clause} If you are using the Data Transformation wizard, these entries relate to the column fields as follows:
The following example creates an Aggregate field containing the mean income per household. AGGREGATE, [Demo].[Household], Avg Hhold Income, MEAN, [Demo].[Customer].[Income], {}
The possible types of aggregate are: COUNT, SUM, MIN, MAX, MEAN, STDEV, STDEVS, REALMEAN and STANDARDDEV |
Online & Instructor-Led Courses | Training Videos | Webinar Recordings | ![]() |
|
![]() |
© Alterian. All Rights Reserved. | Privacy Policy | Legal Notice | ![]() ![]() ![]() |